package com.fjut.dao;

import com.fjut.pojo.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.LinkedList;
import java.util.List;

@Component("userDao")
public class UserDaoImpl implements UserDao{
    public List<User> getUserList(String userName, String userCode) {
        List<User> users = new LinkedList<User>();
        User user = new User();
        user.setId(1);
        users.add(user);
        return users;
    }

    public List<User> getUserListByIdList(List<Integer> idList) {
        return null;
    }
}
